package org.example.mbg.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.mbg.model.TEmail;
import org.example.mbg.model.TEmailExample;

public interface TEmailMapper {
    long countByExample(TEmailExample example);

    int deleteByExample(TEmailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TEmail record);

    int insertSelective(TEmail record);

    List<TEmail> selectByExampleWithBLOBs(TEmailExample example);

    List<TEmail> selectByExample(TEmailExample example);

    TEmail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TEmail record, @Param("example") TEmailExample example);

    int updateByExampleWithBLOBs(@Param("record") TEmail record, @Param("example") TEmailExample example);

    int updateByExample(@Param("record") TEmail record, @Param("example") TEmailExample example);

    int updateByPrimaryKeySelective(TEmail record);

    int updateByPrimaryKeyWithBLOBs(TEmail record);

    int updateByPrimaryKey(TEmail record);
}